﻿using System;
using System.Collections.Generic;
using System.Windows.Data;
using System.Windows.Ria;
using SoftSource.MVVMC;
using SoftSource.Timecard.Web.Data;

namespace SoftSource.Timecard.ViewModelInterfaces
{
    public interface IProjectCategoryEditorViewModelConsume : IDataViewModelConsume
    {
        #region Properties

        PagedCollectionView SourceCategories { get; }
        PagedCollectionView ProjectCategories { get; }

        #endregion Properties

        #region Methods

        Action<object> AddToProject { get; }
        Action<object> RemoveFromProject { get; }
        Action Completed { get; }

        #endregion Methods
    }
    public interface IProjectCategoryEditorViewModelService : IDataViewModelService
    {
        #region Properties

        EntityCollection<ProjectCategory> Categories { get; set; }
        IEnumerable<CategorySummary> CategorySource { get; set; }

        #endregion Properties

        #region Methods

        Action<object> AddToProject { get; set; }
        Action<object> RemoveFromProject { get; set; }
        Action Completed { get; set; }

        #endregion Methods
    }
    public interface IProjectCategoryEditorViewModel : 
        IDataViewModel, 
        IProjectCategoryEditorViewModelConsume, 
        IProjectCategoryEditorViewModelService
    {
    }
}
